const express = require("express");
const app = express();
app.get('/hanz',(req,res)=>{
    res.end("index2");
})
app.listen(8080,err=>{
    if(!err){
        console.log("服务器请求成功！！！");
    }else{
        console.log(err);
    }
})